﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EmotionRecognitionGui
{
    public partial class ImageAnalysisMenu : BasicForm
    {
        GuiManager guiManager;
        public ImageAnalysisMenu()
        {
            guiManager = GuiManager.Instance;
            InitializeComponent();
        }

        protected void buttonTakeImage_Click(object sender, EventArgs e)
        {
            guiManager.takeImageGui.EnterTakeImage();
            guiManager.SwitchForms(this, guiManager.takeImageGui);
        }

        protected void buttonDataBase_Click(object sender, EventArgs e)
        {
            guiManager.dataBaseImagesGui.ShowFirstImage();
            guiManager.SwitchForms(this, guiManager.dataBaseImagesGui);
        }

        protected void buttonExternal_Click(object sender, EventArgs e)
        {
            guiManager.dataBaseImagesGui.ShowFirstImage();
            guiManager.ImageAnalysisGui.buttonExternalImagesEvent();
        }

        new protected void buttonBack_Click_1(object sender, EventArgs e)
        {
            guiManager.SwitchForms(this, guiManager.mainMenuReviewerGui);
        }

    }
}
